package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("student_account")
public class StudentAccount {
    @TableId(type = IdType.AUTO)
    private Long studentAccountId;

    private String studentUsername;
    private String studentPassword;
    private String studentRole;

    private Long studentId;
    private Student student;
}
